﻿using Volo.Abp.Ui.Branding;
using Volo.Abp.DependencyInjection;
using Microsoft.Extensions.Localization;
using ProductManageSystem.Localization;

namespace ProductManageSystem.Web;

[Dependency(ReplaceServices = true)]
public class ProductManageSystemBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<ProductManageSystemResource> _localizer;

    public ProductManageSystemBrandingProvider(IStringLocalizer<ProductManageSystemResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
